package com.JZ.QM.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cyc
 * @email cyc@gmail.com
 * @date 2020/6/24 11:37
 */
@Data
public class RealNameAuthenticationDTO {
    @NotNull(message ="用户编号不能为空")
    private Long userId;

    @NotBlank(message ="用户身份证号不能为空")
    private String userCard;

    @NotBlank(message ="用户手机号不能为空")
    private String  userPhone;

    @NotBlank(message ="用户真实性名不能为空")
    private String userName;

    @NotBlank(message ="用户地址不能为空")
    private String userAddress;

    @NotBlank(message = "账户密码不能为空")
    private String userPassword;
}
